StellarPay\Subscriptions\Repositories\SubscriptionRepository S

Total Complexity 43
Dependencies 17
Dependents 5
Total lines 703
Lines of code 316
Logical lines of code 191
Comment lines 240
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
toArray()
A
37 11 74
update()
S
46 5 40
getAll()
S
53 5 22
insert()
S
49 2 33
delete()
S
58 2 17
validateSubscription()
S
68 3 7
cancelAtPeriodEnd()
S
57 1 17
cancel()
S
58 1 16
hasStatusChanged()
S
75 2 4
updatePaymentMethod()
S
64 2 10
removeCancelAtPeriodEnd()
S
61 1 13
pauseAtPeriodEnd()
S
63 1 11
suspend()
S
63 1 11
complete()
S
63 1 11
pause()
S
68 1 7
getById()
S
74 1 5
prepareQuery()
S
79 1 3
resume()
S
64 1 10
activate()
S
73 1 5